package com.ithinkstudio.jeez.async;

/**
 * @program: jeez-springboot-bucket
 * @description:
 * @author: fengzp
 * @create: 2020/04/21
 */
public class AsyncException extends RuntimeException {
    public AsyncException() {
        super();
    }

    public AsyncException(String msg) {
        super(msg);
    }

    public AsyncException(int code, String msg) {
        super(msg);
        this.code = code;
    }

    /**
     * 错误代码
     */
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
